package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.ReturnPremium;
import com.gljx.web.Entity.ReturnPremiumEntry;
import com.gljx.web.Entity.User;

public interface ReturnPremiumService {
	
	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);

	List<ReturnPremiumEntry> queryReturnPremiumEntry(String fparentId,String studentName);

	void editReturnPremium(ReturnPremium returnPremium, String[] fseq, String[] cfstudentno, String[] cfstudentid,
			String[] cfidcardaddress, String[] cfsqzjcxdh, String[] cfreceivable, String[] cfreceived,
			String[] cfprivilege, String[] cfarrearage, String[] cfexpenditure,
			String[] cfythj, String[] cfcash, String[] cfcard, String[] cfyhzz, String[] cfamount, String[] cfdesc,User user,String time);
	
	ReturnPremium queryReturnPremiumByFid(String fid);

	void deleteReturnPremium(String fid, String[] deleteId);

    int auditReturnPremium(String fid, String type, String fhandlerId, String message, String state, String fnumber);

    int modifyReturnPremium(ReturnPremium returnPremium);

    List<ReturnPremiumEntry> selectReturnPremiumByInfo(String fcompanyid, String studentName, String beginTime, String endTime);
}
